From a581594cb202cbf339be5017768bd8accc971615 Mon Sep 17 00:00:00 2001 From: Andreas Beckmann Date: Wed, 24 Nov 2021 15:06:54 +0100 Subject: [PATCH] [PATCH 100/144] link libpocl-devices-pthread.so with -pthread Gbp-Pq: Name 0100-link-libpocl-devices-pthread.so-with-pthread.patch --- lib/CL/devices/pthread/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CL/devices/pthread/CMakeLists.txt b/lib/CL/devices/pthread/CMakeLists.txt index 4b99fc8..d8b1b0e 100644 --- a/lib/CL/devices/pthread/CMakeLists.txt +++ b/lib/CL/devices/pthread/CMakeLists.txt @@ -28,5 +28,5 @@ if(MSVC) endif(MSVC) add_pocl_device_library(pocl-devices-pthread pocl-pthread.h pthread.c pthread_scheduler.c pthread_utils.c) if(ENABLE_LOADABLE_DRIVERS) -target_link_libraries(pocl-devices-pthread PRIVATE pocl-devices-basic) +target_link_libraries(pocl-devices-pthread PRIVATE pocl-devices-basic ${PTHREAD_LIBRARY}) endif() -- 2.30.2